package cn.ryh.designpatterndemo.commandpattern;

/**
 * @ClassName ReceiveOne
 * @Description TODO
 * @Author RaoYH
 * @Date 2019/4/25
 */
public class ReceiveOne extends AbstractReceive {


    @Override
    public void doSomethingForCommandOne() {
        System.out.println("ReceiveOne doSomethingForCommandOne");
    }

    @Override
    public void doSomethingForCommandTwo() {
        System.out.println("ReceiveOne doSomethingForCommandTwo");
    }
}
